//
//  PywAccount.m
//  PywSdk
//
//  Created by Jade on 4/12/16.
//  Copyright © 2016 zero. All rights reserved.
//

#import "PywAccount.h"

@implementation PywAccount

+ (instancetype)accountWithDict:(NSDictionary *)dict{
    if (![dict isKindOfClass:[NSDictionary class]]) return nil;
    PywAccount *account = [[PywAccount alloc] init];
    account.account = dict[@"account"];
    account.addtime = dict[@"addtime"];
    account.is_new = dict[@"is_new"];
    return account;
}

@end
